<template>
  <div class='xtx_body'>
    <div class="container">
      <app-aside></app-aside>
      <div class="xtx_body_main">
        <!-- 三级路由 -->
        <transition name="member" mode="out-in">
          <router-view></router-view>
        </transition>
      </div>
    </div>
  </div>
</template>

<script>
import AppAside from '@/components/app-aside.vue'
export default {
  components: { AppAside }
}
</script>

<style scoped lang='less'>
.member-enter-active,.member-leave-active{
  transition: all 0.2s linear;
}
.member-enter {
  opacity: 0;
  transform: translateX(10px);
}
.member-leave-to{
  opacity: 0;
}

.xtx_body {
  padding: 25px 0;
  background-color: #f5f5f5;
}

.xtx_body .container {
  display: flex;
  min-height: 600px;
}

.xtx_body_main {
  flex: 1;
  background: #FFFFFF;
  padding-bottom: 25px;
}
</style>
